home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-01-12 | 2.7 KB | 70 lines | [TEXT/MPS ] |
- -------------------------------------------------------
- MPW Access for Macintosh Programmer’s Toolbox Assistant
- -------------------------------------------------------
-
- About MPW Access for Macintosh Toolbox Assistant
- ------------------------------------------------
- The scripts in this folder allow you to access Macintosh Programmer’s
- Toolbox Assistant information from the MPW Shell. Using these scripts,
- you can look up any term in the Macintosh Programmer’s Toolbox Assistant
- databases or retrieve the template for a function call.
-
-
- Installing MPW Access for Macintosh Programmer’s Toolbox Assistant
- ------------------------------------------------------------------
- The folder that contains this file should also contain three
- other files:
-
- • A "UserStartup•MPTA" MPW script
- • A "MPTA_MPWAccess" MPW script
- • A "SendAE" MPW tool
-
- To install these files, take the following steps:
-
- 1. Quit the MPW Shell if is currently running.
-
- 2. Drag the "UserStartup•MPTA" file into the same folder
- as the MPW Shell.
-
- 3. Drag the "MPTA_MPWAccess" file into the {MPW}Scripts
- folder.
-
- 4. Drag the "SendAE" file into the {MPW}Tools folder.
-
- 5. Start up the MPW Shell. During the startup process, you will
- see a Standard File dialog box asking you for the location
- of the QuickView browser. (QuickView is the search and
- display engine for Macintosh Programmer’s Toolbox Assistant.)
- Locate QuickView and click the "Here It Is" button. The
- location will be stored in a file called "MPTA_FullPathName"
- for use during subsequent MPW startups.
-
- 6. When the startup script finishes, it will have installed
- a new menu called "MPTA". That menu contains two commands,
- "Look up" and "Template".
-
- 7. As a test, type "NewWindow" on the MPW worksheet, highlight
- just the word "NewWindow", and select the "Look up" item in
- the MPTA Menu. MPW will send an Apple Event to the QuickView
- application, which will open and bring the page for the
- NewWindow toolbox call to the front.
-
- 8. To test the template retrieval, type another toolbox call
- into the worksheet (for example "NewCWindow"), highlight
- the call name, and select the "Template" item on the
- MPTA Menu. The template for the function call will be
- retrieved and will replace the current selection.
-
- That’s it! Subsequent startups of MPW will automatically use
- the QuickView application that you selected, and the "Look up"
- and "Template" functions will automatically be available.
-
- There is one more thing you need to be aware of:
-
- 1. If you move the QuickView application from its original
- location, MPW will be unable to find it. Throw away the file
- "MPTA_FullPathName" in the MPW directory, relaunch the
- MPW Shell, and you will again be prompted to locate QuickView.
- After you locate it, everything will work again.
-
-